import Vue from 'vue'

import App from './views'

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
Vue.config.productionTip = false;

Vue.use(Antd);

import router from './router'
import store from './store'
//引入less

// 注册全局插件，插件中有过滤器、指令、全局组件
import Components from './components'
Vue.use(Components)

import './style/index.less'
new Vue({
    router,  //全局注入
    store,
    render: c => c(App)
}).$mount('#root')